home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeeds.ans.net!btco!newsadm
- From: Shalom Reich <sqr1874@acf4.nyu.edu>
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: Re: HELP!: Error when trying to use cout in MSVC++ 4.0!
- Date: Wed, 13 Mar 1996 10:56:16 -0500
- Organization: Bankers Trust Company
- Message-ID: <3146F020.9F0@acf4.nyu.edu>
- References: <4i5kpd$eic@mirv.unsw.edu.au> <13MAR199607405255@erich.triumf.ca>
- NNTP-Posting-Host: algsvw0058.btco.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (WinNT; I)
-
- P.Bennett wrote:
- >
- > In article <4i5kpd$eic@mirv.unsw.edu.au>, s2139589@cse.unsw.edu.au (CC) writes...
- >
- > >Basically I am trying to use cout to print a word, however the
- > >compiler keeps generating the following error:
- > >
-
- [snip]
-
- >
- > Quite likely your compiler thinks you are writing C, but cout only exists in
- > C++.
- >
-
- Did you #include <iostream.h> ? It defines cin and cout etc.
-
- Shalom Reich
-